#!/usr/bin/env bash

GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w"  -o tmp/x86_64/netproxy
GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w"  -o tmp/aarch64/netproxy

lipo -create tmp/x86_64/netproxy tmp/aarch64/netproxy  -output tmp/netproxy
